MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / ValidatorBase<T> Class / Validate Method
Object to validate

In This Topic
Validate Method (ValidatorBase<T>)
In This Topic
Runs validation
Syntax
'Declaration
 
Public Function Validate( _
   ByVal obj As T _
) As IEnumerable(Of Tuple(Of Boolean,String))
 

Parameters

obj
Object to validate

Return Value

Validation result as Tuple<bool, string> where Item1 - is a boolean that says whether the validation succeeded, Item2 - a collection of error messages about any validation failures
See Also